package dao;

import beans.Contract;
import beans.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractDao {
    List<Contract> selectList();

    List<Contract> selectSelective(@Param(value="selectText")String selectText, @Param(value="inputText")String inputText);

    int deleteByPrimaryKey(Integer contractId);

    int insert(Contract record);

    int insertSelective(Contract record);

    Contract selectByPrimaryKey(Integer contractId);

    int updateByPrimaryKeySelective(Contract record);

    int updateByPrimaryKey(Contract record);

    int count();
}